<div class="panel panel-default panel-intro">
    {if $type!=3}
    <div class="panel-heading">
        {:build_heading()}
        <ul class="nav nav-tabs nav-custom-condition">
<!--            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>-->
            <li class="active"><a href="#t-1" data-value='1' data-toggle="tab">品牌</a></li>
            <li class=""><a href="#t-2" data-value='2' data-toggle="tab">类别</a></li>
        </ul>
    </div>
    {/if}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" data-params="type={$type}" class="btn btn-success btn-add {:$auth->check('car_cate/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('car_cate/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        
                    </div>
                    <div class="toolbar">
                        <span style="display: block;height: 30px;line-height: 30px;color: red;">注：数字越大，排序越靠前</span>
                    </div>
                    <table id="table" data-type="{$type}" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('car_cate/edit')}"
                           data-operate-del="{:$auth->check('car_cate/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>